package com.miaoxun.service;

import com.miaoxun.domain.entity.Menu;
import com.miaoxun.domain.model.Tree;

import java.util.List;
import java.util.Set;

/**
 * 菜单管理
 *
 * @author ruoshuisixue
 * @email ruoshuisixue@sina.com
 * @date 2017-11-17 14:38:42
 */
public interface MenuService extends BaseService<Menu> {



    List<Tree<Menu>> listMenuTree(Long id);

    boolean updateById(Menu menu);

    Tree<Menu> getTree(Long id);
    Set<String> listPerms(Long userId);

    Tree<Menu> getTree();
}
